package com.dc.designPattern._5_adapter._1_classAdapter;

/**
 * Description: 类适配器_被适配的类
 * @author: gdc
 * @date: 2021/3/10
 * @version 1.0
 */
public class Voltage220V {

    /**
     * 输出电压 220V
     */
    public int output220V(){
        int result = 220;
        System.out.println("电压=" + result + "V");
        return result;
    }
}
